/*火焰效果*/
@-webkit-keyframes fire_on {
	0% {
		-webkit-transform: scale(0);
		transform: scale(0);
	}

	100% {
		-webkit-transform: scale(1);
		transform: scale(1);
	}
}

@keyframes fire_on {
	0% {
		-webkit-transform: scale(0);
		transform: scale(0);
	}

	100% {
		-webkit-transform: scale(1);
		transform: scale(1);
	}
}
/*光旋转效果*/
@-webkit-keyframes light_on {
	0% {
		-webkit-transform-origin: 50px 50px;
		-webkit-transform: rotate(360deg);
	}
	100% {
		-webkit-transform-origin: 50px 50px;	
		-webkit-transform: rotate(0deg);
	}
}
@keyframes light_on {
	0% {
		transform-origin: 50px 50px;
		transform: rotate(360deg);
	}
	100% {
		transform-origin: 50px 50px;
		transform: rotate(0deg);
	}
}
@-webkit-keyframes light_on2 {
	0% {
		-webkit-transform-origin: 50px 50px;
		-webkit-transform: rotate(360deg);
        -webkit-transform-origin: center;
	}
	100% {
		-webkit-transform-origin: 50px 50px;	
		-webkit-transform: rotate(0deg);
    -webkit-transform-origin: center;
		transform-origin: center;
	}
}
@keyframes light_on2 {
	0% {
		transform-origin: 50px 50px;
		transform: rotate(360deg);
		transform-origin: center;
	}
	100% {
		transform-origin: 50px 50px;
		transform: rotate(0deg);
		transform-origin: center;
	}
}
/*选中效果*/
@-webkit-keyframes bug_on {
	0% {
		opacity: 1;
	}

	50% {
		opacity: 0.2;
	}

	100% {
		opacity: 1;
	}
}

@keyframes bug_on {
	0% {
		opacity: 1;
	}

	50% {
		opacity: 0.2;
	}

	100% {
		opacity: 1;
	}
}

/*首页文字放大蹦出来效果*/
@-webkit-keyframes bounceIn {
  0%, 20%, 40%, 60%, 80%, 100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }

  0% {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3);
  }

  20% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
  }

  40% {
    -webkit-transform: scale3d(.9, .9, .9);
    transform: scale3d(.9, .9, .9);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03);
  }

  80% {
    -webkit-transform: scale3d(.97, .97, .97);
    transform: scale3d(.97, .97, .97);
  }

  100% {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes bounceIn {
  0%, 20%, 40%, 60%, 80%, 100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }

  0% {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    -ms-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3);
  }

  20% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    -ms-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
  }

  40% {
    -webkit-transform: scale3d(.9, .9, .9);
    -ms-transform: scale3d(.9, .9, .9);
    transform: scale3d(.9, .9, .9);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    -ms-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03);
  }

  80% {
    -webkit-transform: scale3d(.97, .97, .97);
    -ms-transform: scale3d(.97, .97, .97);
    transform: scale3d(.97, .97, .97);
  }

  100% {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    -ms-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

/*细菌出来*/
@-webkit-keyframes bounceIn2 {
  0%, 20%, 40%, 60%, 80%, 100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }

  0% {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3);
  }
  
  100% {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes bounceIn2 {
  0%, 20%, 40%, 60%, 80%, 100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }

  0% {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    -ms-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3);
  }
  
  100% {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    -ms-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}
/*虫子移动效果*/
@-webkit-keyframes bug_move {
	0% {
		opacity: 1;
        left:0px;
	}
    
    50% {
            opacity: 0.2;
            left:50px;
        }
    
	100% {
		opacity: 1;
        left:0px;
	}
}

@keyframes bug_move {
	0% {
		opacity: 1;
        left:0px;
	}
    
    50% {
            opacity: 0.2;
            left:50px;
        }
    
	100% {
		opacity: 1;
        left:0px;
	}
}

/*气泡变大上升效果*/
@-webkit-keyframes bubble {
	0% {
		opacity: 1;
        top:810px;
        left:430px;
        -webkit-transform:scale(0.2);
        transform:scale(0.2);
	}
    30% {
        left:400px;
	}
    60% {
        left:450px;
        opacity: 1;
	}
    100% {
		top:150px;
        left:350px;
        -webkit-transform:scale(1.5);
        transform:scale(1.5);
        opacity: 0;
	}
   
}

@keyframes bubble {
	0% {
		opacity: 1;
        top:810px;
        left:430px;
        -webkit-transform:scale(0.2);
        transform:scale(0.2);
	}
    30% {
        left:400px;
	}
    60% {
        left:450px;
        opacity: 1;
	}
    100% {
		top:150px;
        left:350px;
        -webkit-transform:scale(1.5);
        transform:scale(1.5);
        opacity: 0;
	}
   
}
/*礼盒摇晃效果*/
@-webkit-keyframes swing {
    50% {
    -webkit-transform: rotate(10deg);
    transform: rotate(10deg);
  }
    100% {
    -webkit-transform: rotate(-10deg);
    transform: rotate(-10deg);
  }
}

@keyframes swing {
    50% {
    -webkit-transform: rotate(10deg);
    -ms-transform: rotate(10deg);
    transform: rotate(10deg);
  }
   100% {
    -webkit-transform: rotate(-10deg);
    -ms-transform: rotate(-10deg);
    transform: rotate(-10deg);
  }
}
/*文字从左向右展开*/
@-webkit-keyframes open {
    0% {
    width:0px;
  }
    100% {
    width:482px;
  }
}

@keyframes open {
     0% {
    width:0px;
  }
    100% {
    width:482px;
  }
}

/*放大后消失*/
@-webkit-keyframes open_hide {
    0% {
    -webkit-transform:scale(1);
    transform:scale(1);
  }
    100% {
    -webkit-transform:scale(1.35);
    transform:scale(1.35);
    opacity:0;
  }
}

@keyframes open_hide {
    0% {
    -webkit-transform:scale(1);
    transform:scale(1);
  }
    100% {
    -webkit-transform:scale(1.35);
    transform:scale(1.35);
    opacity:0;
  }
}
/*跳过动画*/
@-webkit-keyframes exit {
     0% {
        right:20px
    }
    50% {
        right:0px;
    }
    100% {
        right:20px;
    }
}

@keyframes exit {
    0% {
        right:20px
    }
    50% {
        right:0px;
    }
    100% {
        right:20px;
    }
}

/*淡入显示效果*/
@-webkit-keyframes fadeIn {
     0% {
        opacity:0;
    }
    50% {
        opacity:1;
    }
    100% {
        opacity:0;
    }
}

@keyframes fadeIn {
    0% {
        opacity:0;
    }
    50% {
        opacity:1;
    }
    100% {
        opacity:0;
    }
}